:root {
    /* font-size: .5333rem; */
    font-size: 37.5px;
    --accent-color: #ff2189;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.calendar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    height: 8rem;
    user-select: none;
    margin: 0 auto;
    font-size: 0;
    width: 95%;
    margin-top: .4rem;
    /* background-color: skyblue; */
}


/* header */

.header {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: .16rem;
    height: .5333rem;
}

.currentDate {
    font-size: .48rem;
    font-weight: bold;
    color: var(--accent-color);
    text-align: center;
    min-width: 28vmin;
}

.header button {
    border: .0533rem solid transparent;
    outline: none;
    background-color: transparent;
    cursor: pointer;
    padding: 0 .2667rem;
    transition: all 0.3s;
    font-size: .3rem;
}

.header button:hover {
    border: .0533rem solid var(--accent-color);
}


/* days */

.days {
    display: flex;
    justify-content: space-around;
    text-align: center;
    padding: .1067rem 0;
    font-size: .4267rem;
    color: var(--accent-color);
}


/* dates */

.dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: .2133rem;
}

.date {
    text-align: center;
    padding: .1067rem 0;
    font-size: .3733rem;
    transition: all 0.3s;
    border: .08rem solid transparent;
    color: rgba(0, 0, 0, 0.36);
    cursor: pointer;
    background-color: transparent;
    box-shadow: .0267rem .0267rem .1067rem rgba(0, 0, 0, 0.1);
}

.date.currentMonth {
    color: #000;
}

.date:hover,
.date.selected {
    border-color: var(--accent-color);
}

.date.selected {
    background-color: var(--accent-color);
    color: #fff;
}

.swiper-container {
    width: 18.6667rem;
    height: 100%;
    background-color: green;
}

.swiper-slide {
    font-size: .48rem;
    height: auto;
    padding: .8rem;
    font-size: .3467rem;
    line-height: 1.8;
}

p {
    margin-bottom: 1em;
}